<template>
    <div class="container-content">
        <div class="container-content-title">{{ $t('platform.setting.info.title') }}</div>
        <el-form label-width="180px" class="detail">
            <el-row>
                <el-col :xl="12">
                    <el-form-item :label="tree.name">
                        <el-tag effect="plain" size="mini" type="info">{{ tree.id }}</el-tag>
                    </el-form-item>
                </el-col>
                <el-col :xl="12">
                    <el-form-item :label="$t('platform.setting.tree.dialog.code')">
                        <el-tag effect="plain" size="mini" type="info">{{ tree.code }}</el-tag>
                    </el-form-item>
                </el-col>
            </el-row>
        </el-form>
    </div>
</template>

<script>
    export default {
        name: "PlatformInfo",
        props: ['tree'],
    }
</script>

<style scoped>

</style>
